package com.lovo.bean;

/**
 * 班级类
 */
public class Classz {
    private int id;
    /**
     * 班级名称
     */
    private String name;
    /**
     * 带班老师
     */
    private String teacher;
    /**
     * 开班时间
     */
    private String createDate;

    public Classz() {
    }

    public Classz(int id) {
        this.id = id;
    }

    public Classz(String name) {
        this.name = name;
    }

    public Classz(int id, String name, String teacher, String createDate) {
        this.id = id;
        this.name = name;
        this.teacher = teacher;
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }
}
